package com.yincb.service;


import com.yincb.entity.Account;
import com.yincb.entity.mapper.AccountMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.lang.reflect.Method;
import java.util.List;

@Service
public class AccountService {

    @Resource
    private AccountMapper accountMapper;

    @Resource
    private UserService userService;


    public List<Account> select(){

        List<Account> accounts = accountMapper.selectList(null);

        return accounts;
    }


    public void insert(Account account){

        accountMapper.insert(account);

        Method method = null;

    }
}
